<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片展示</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #card{
            width: 960px;
            height: 270px;
            border: 1px solid gray;
            margin: 100px auto;
        }
        .head{
            height: 50px;
            border-bottom: 1px solid gray;
            margin: 0 20px;
        }
        .head h3{
            font: 18px 600 '微软雅黑';
            color: #000;
            line-height: 50px;
        }
        .content ul{
            list-style: none;
        }
        .content ul li{
            float: left;
        }
        .content ul li:nth-child(1){
            margin-left: -9px;
        }
        .content ul li:nth-child(6){
            margin-left: -9px;
            margin-top: 9px;
        }
        .content ul li:nth-child(7){
            margin-top: 9px;
        }
        .content ul li:nth-child(8){
            margin-top: 9px;
        }
        .content ul li:nth-child(9){
            margin-top: 9px;
        }
        .content ul li:nth-child(10){
            margin-top: 9px;
        }
        .content ul li img{
            width: 160px;
            height: 68px;
            margin-left: 29px;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div id="card">
        <div class="head">
            <h3>图片展示</h3>
        </div>
        <div class="content">
            <ul>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
                <li><img src="./img/goods.jpg" alt="商品图片"></li>
            </ul>
        </div>
    </div>
</body>
</html>